home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / win_utl2 / wotd_206.zip / DIAG.DOC < prev    next >
Text File  |  1996-01-30  |  4KB  |  110 lines

  1. diag
  2. Copyright (c) 1994-1995, The Software Construction Co.  All rights
  3. reserved.
  4.  
  5. The diag program has been developed to help you diagnose some of the
  6. more common problems that we have encountered from our user
  7. community.  It may not solve all of your problems, but perhaps it
  8. will find the problem for some users.
  9.  
  10. Test 1: chkdsk
  11. ==============
  12.  
  13. This test runs your computer's chkdsk command to look for problems on
  14. your disk.  Scan the output for reported errors from this utility.
  15. See your MS-DOS manual for more information both on running the chkdsk
  16. command as well as information on correcting any errors that may be
  17. reported.
  18.  
  19. If the chkdsk command cannot be run, a warning will be displayed.
  20. There is nothing particularly wrong with this.  You, simply, will not
  21. get the benefit of running the test.
  22.  
  23. Test 2: TMP environment variable
  24. ================================
  25.  
  26. Some of our programs use the value of the TMP environment variable to
  27. tell where some temporary data files will be stored.  While it is not
  28. necessary for this environment variable to exist, it is necessary for
  29. the directory it points to to exist.  For example, if your
  30. AUTOEXEC.BAT file has the following line:
  31.  
  32.     SET TMP=C:\TEMP
  33.  
  34. the TEMP dirctory must exist on the C: drive.
  35.  
  36. A warning will be displayed if the TMP environment variable doesn't
  37. exist.  An error will be displayed if the directory described in the
  38. value doesn't exist.
  39.  
  40. SOLUTION: Create the directory, change the definition of the TMP
  41.           environment variable, or remove the line altogether from
  42.           your AUTOEXEC.BAT file.
  43.  
  44. Test 3: TEMP environment variable
  45. =================================
  46.  
  47. Some of our programs use the value of the TEMP environment variable to
  48. tell where some temporary data files will be stored.  While it is not
  49. necessary for this environment variable to exist, it is necessary for
  50. the directory it points to to exist.  For example, if your
  51. AUTOEXEC.BAT file has the following line:
  52.  
  53.     SET TEMP=C:\TEMP1
  54.  
  55. the TEMP1 dirctory must exist on the C: drive.
  56.  
  57. A warning will be displayed if the TEMP environment variable doesn't
  58. exist.  An error will be displayed if the directory described in the
  59. value doesn't exist.
  60.  
  61. SOLUTION: Create the directory, change the definition of the TMP
  62.           environment variable, or remove the line altogether from
  63.           your AUTOEXEC.BAT file.
  64.  
  65. Test 4: Duplicate environment variables
  66. =======================================
  67.  
  68. The diag program checks each of the SET commands in your AUTOEXEC.BAT
  69. file to determine that they are all unique.  If a duplicate
  70. environment variable is found, it will be reported as an error.
  71. While, technically, this is not an error, it is probably not what you
  72. want in your AUTOEXEC.BAT.  Note that the value that is used by your
  73. system is the last line setting the environment variable.  In other
  74. words, all but the final line wll be ignored.
  75.  
  76. A warning will be displayed if we cannot find your AUTOEXEC.BAT file.
  77. We expect to find it in the root directory of the current drive.
  78.  
  79. SOLUTION: Remove all but one of the duplicate SET command lines from
  80.           your AUTOEXEC.BAT file.
  81.  
  82. Test 5: Format of the TZ environment variable
  83. =============================================
  84.  
  85. The format of the TZ environment variable is very special.  Having an
  86. incorrect value can cause many different problems.
  87.  
  88. The syntax of the TZ environment variable line in your AUTOEXEC.BAT
  89. file is:
  90.  
  91. SET TZ=xxxyzzz
  92.  
  93. where:
  94.    xxx is the three character abbreviation for your timezone (e.g., EST).
  95.        If you have no abbreviation, use a three letter abbreviation for
  96.        your country name.
  97.    y   is a number (with an option + or - in front) that tells the
  98.        difference between your timezone and Greenwich Mean Time.
  99.        Positive numbers adjust eastward and negative numbers westward
  100.        (e.g., 5=EST, +8=PST, -1=continental Europe).
  101.    zzz is the optional name that represents the abbreviation when you
  102.        are in daylight savings time.  If your timezone doesn't observe
  103.        daylight savings time, don't include this field.
  104.  
  105. SOLUTION: Either remove the SET TZ line from your AUTOEXEC.BAT file or
  106.           correct the format to that described above.  It is better to
  107.           have no TZ environment variable than an incorrect one!
  108.           
  109.  
  110.